﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    
    <Style x:Key="DefaultControlStyle" TargetType="Control">
        <Setter Property="Margin" Value="3" />
    </Style>
    
    <Style x:Key="DefaultButtonStyle" TargetType="Button" BasedOn="{StaticResource DefaultControlStyle}">
        <Setter Property="MinWidth" Value="75" />
        <Setter Property="MinHeight" Value="23" />
        <Setter Property="TextOptions.TextFormattingMode" Value="Display" />
    </Style>
    
    <Style x:Key="DefaultLabelStyle" TargetType="Label" BasedOn="{StaticResource DefaultControlStyle}">
        <Setter Property="TextOptions.TextFormattingMode" Value="Display" />
        <Setter Property="HorizontalContentAlignment" Value="Right" />
        <Setter Property="VerticalContentAlignment" Value="Center" />
        <Setter Property="Margin" Value="0" />
    </Style>
    
    <Style x:Key="DefaultCheckBoxStyle" TargetType="CheckBox" BasedOn="{StaticResource DefaultControlStyle}">
        <Setter Property="TextOptions.TextFormattingMode" Value="Display" />
    </Style>
    
    <Style x:Key="DefaultTextBoxStyle" TargetType="TextBox" BasedOn="{StaticResource DefaultControlStyle}">
        <Setter Property="TextOptions.TextFormattingMode" Value="Display" />
        <Setter Property="Height" Value="23" />
    </Style>
    
</ResourceDictionary>